import cxjson from './chuxiong.json';

const staticRoadData = {
  model: [
    {
      id: 'honglvdeng-gan-1',
      position: [102.619171, 24.988956, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        // url: 'http://122.9.167.49/licos3/2025-02-26/d90975f5c6b84189b8f62c86ab26fb92(untitled).glb',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        id: '1879140298542567426',
        createTime: '2025-01-14 20:15:38',
        tenantId: '0',
        deviceId: 'cffdffff-cd09-4d96-8d98-de368b49f33e',
        deviceTypeId: '9c863061-16f6-445c-9c68-cec5bf06bfce',
        deviceTypeName: '驱动版modelbusPlc',
        tbDeviceId: '47fd6620-c433-11ef-b5a9-d3430e994ae8',
        name: '驱动调用modbusPlc开关',
        attributes:
          '{"DriveId":"cffdffff-cd09-4d96-8d98-de368b49f33e","ItemId":"cffdffff-cd09-4d96-8d98-de368b49f33e","Value":"101","Connected":"11"}',
        config: '{"port":50001,"deviceName":"驱动调用modbusPlc开关"}',
        typeInfo: {
          id: '1879122404567941121',
          createTime: '2025-01-14 19:04:32',
          tenantId: '0',
          deviceTypeId: '66666666-2024-1118-6666-202411180002',
          name: 'modbus_plc设备',
          attributes:
            '[{"key":"tag","enum":"","memo":"","name":"数据标记"},{"key":"type","enum":"64uint;32uint;16uint;16int;32int;64int","memo":"数据类型-计数值:16-1,32-2,64-4","name":"数据类型"},{"key":"functionCode","enum":"3;4","memo":"3读取多个保持寄存器4读取输入寄存器","name":"功能代码"},{"key":"objectsCount","enum":"2;4","memo":"","name":"计数"},{"key":"address","enum":"","memo":"0开始","name":"点位地址"}]',
          telemetry:
            '[{"key":"tag","enum":"","memo":"","name":"数据标记"},{"key":"type","enum":"64uint;32uint;16uint;16int;32int;64int","memo":"数据类型-计数值:16-1,32-2,64-4","name":"数据类型"},{"key":"functionCode","enum":"3;4","memo":"3读取多个保持寄存器4读取输入寄存器","name":"功能代码"},{"key":"objectsCount","enum":"2;4","memo":"","name":"计数"},{"key":"address","enum":"","memo":"0开始","name":"点位地址"}]',
          method:
            '[{"key":"tag","enum":"","memo":"","name":"方法名"},{"key":"type","enum":"64uint;32uint;16uint;16int;32int;64int","memo":"数据类型-计数值:16-1,32-2,64-4","name":"数据类型"},{"key":"functionCode","enum":"3;4;6","memo":"3读取多个保持寄存器4读取输入寄存器6写寄存器","name":"功能代码"},{"key":"objectsCount","enum":"2;4","memo":"","name":"计数"},{"key":"address","enum":"","memo":"0开始","name":"点位地址"}]',
          events: null,
          config:
            '[{"key":"host","enum":"","memo":"","name":"ip地址","type":"string"},{"key":"port","enum":"","memo":"","name":"端口","type":"string"},{"key":"deviceName","enum":"","memo":"","name":"设备名称","type":"string"}]',
          modelUrl: 'http://122.9.167.49:9000/licos3/2025-01-21/14becc4718a04530b7b2b80c829ff240(4路网).png',
          deviceStatus: 'SwitchStatus'
        }
      }
    },
    {
      id: 'honglvdeng-gan-2',
      position: [102.618979, 24.98882, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    },
    {
      id: 'honglvdeng-gan-3',
      position: [102.618871, 24.988741, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    },
    {
      id: 'honglvdeng-gan-4',
      position: [102.618703, 24.988621, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    },
    {
      id: 'honglvdeng-gan-5',
      position: [102.618482, 24.988463, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    },
    {
      id: 'honglvdeng-gan-6',
      position: [102.618069, 24.988166, 1872],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    },
    {
      id: 'honglvdeng-gan-7',
      position: [102.615065, 24.986024, 1880],
      style: {
        url: 'https://data.mars3d.cn/gltf/mars/jiaotong/honglvdeng-gan.gltf',
        heading: 135,
        pitch: 0,
        roll: 0,
        scaleX: 1,
        scaleY: 0.5,
        scaleZ: 0.5
      },
      attr: {
        deviceTypeId: 69855,
        deviceTypeName: '路灯'
      }
    }
  ],
  //隧道数据
  tunnels: [
    {
      id: 'tunnel1',
      positions: [
        [102.617884, 24.988129, 1876.7],
        [102.606933, 24.980321, 1907.1]
      ],
      height: 9
    }
  ],
  //道路数据
  road: [
    {
      positions: [
        [102.606933, 24.980321, 1906.1],
        [102.617884, 24.988129, 1876.7],
        [102.621373, 24.990633, 1876.7]
      ],
      width: 20
    },
    {
      positions: cxjson.lines[0],
      width: 20
    }
  ]
}

  // 导出数据
export { staticRoadData };